from threading import Thread
def output(content):
    while True:
        print(content,end='',fluch=True)


def main():
    Thread(target=output,daemon=True,args=('ping',)).start()
    Thread(target=output,daemon=True,args=('pong',)).start()
    print('hello,world!')


if __name__=='__main__':
    main()
